﻿
namespace Storm.TextEditor.Editor
{
	/// <summary>
	/// Defines all the different indenting styles.
	/// </summary>
	public enum IndentStyle
	{
		/// <summary>
		/// Caret will always be reset.
		/// </summary>
		None = 0,

		/// <summary>
		/// Caret will jump to the same indentation level as the previous row.
		/// </summary>
		LastRow = 1,

		/// <summary>
		/// Caret will jump to the same indentation level as the previous row.
		/// If a special indentation keyword has been typed it will either add or remove an indentation level depending on the keyword options.
		/// <seealso cref="LastRow"/>
		/// </summary>
		Scope = 2,
	}
}
